package com.example.goods_admin.mapper;

import com.example.goods_admin.entity.Goods;
import com.example.goods_admin.entity.GoodsImg;

import java.util.List;

public interface UploadFileMapper {

    int saveGoods(Goods goods);
    int updateGoods(Goods goods);

    int deleteGoodsImage(Goods goods);


    List<Goods> selectGoods(Goods goods);

    List<Goods> selectGoodsList(Goods goods);

    int saveGoodsImg(List<GoodsImg> goodsImgList);

    int updateGoodsImg(GoodsImg goodsImg);

    Goods selectGoodsById(String id);
}
